package com.smarthealthring.mm.api;

import java.io.Serializable;

/**
 * 返回数据类型的通用格式
 *
 * Created by hewei26 on 2016/9/27.
 */
public class ApiResponse<T> implements Serializable {

    private String msg;
    private String token;
    private String empId;
    private boolean isSuccess;
    private T content;
    private String code;
    private long tokenExpDate;

    public long getTokenExpDate() {
        return tokenExpDate;
    }

    public void setTokenExpDate(long tokenExpDate) {
        this.tokenExpDate = tokenExpDate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }
}
